<%@ page language="java" contentType="text/html; charset=utf-8"
    pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>注册</title>
<link rel="stylesheet" type="text/css" href="css/style.css"/>
</head>
<body>
<div>
<form action="doSignup" method="post">
	<h2>欢迎,请注册</h2>
	<ul>
		<li>
			<input type="text" name="consumerName" placeholder="用户名">
			<p>	
				<c:if test="${not empty message1}">
   					<c:out value="${message1}"/>
				</c:if>
			</p>
		</li>
		<li>
			<input type="password" name="password" placeholder="密码">
			<p>	
				<c:if test="${not empty message2}">
   					<c:out value="${message2}"/>
				</c:if>
			</p>
		</li>
		<li>
			<input type="password" name="confPassword" placeholder="确认密码">
			<p>	
				<c:if test="${not empty message3}">
   					<c:out value="${message3}"/>
				</c:if>
			</p>
		</li>
		<li>
			<input type="text" name="phone" placeholder="手机号">
			<p>	
				<c:if test="${not empty message4}">
   					<c:out value="${message4}"/>
				</c:if>
			</p>
		</li>
		<li>
			<input type="text" name="email" placeholder="邮箱">
			<p>	
				<c:if test="${not empty message5}">
   					<c:out value="${message5}"/>
				</c:if>
			</p>
		</li>
		<li>
			<input type="submit" value="注册"  class="button">
		</li>
		<li>
			<a href="login.jsp">登录</a>
		</li>
	</ul>
</form>
</div>
</body>
</html>